package ua.kharkov.knure.dereza.summarytask4.db.bean;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Bean that contain client's card.
 * 
 * @author dereza
 * 
 */
public class CardBean implements Serializable {

	private static final long serialVersionUID = -4041264397007890124L;

	private int ownerId;
	
	private String ownerName;
	
	private String ownerSurname;
	
	private int id;

	private String code;

	private String name;

	private BigDecimal balance;

	private String currency;

	private String status;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(int ownerId) {
		this.ownerId = ownerId;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnerSurname() {
		return ownerSurname;
	}

	public void setOwnerSurname(String ownerSurname) {
		this.ownerSurname = ownerSurname;
	}

	@Override
	public String toString() {
		return "CardBean [ownerId=" + ownerId + ", ownerName=" + ownerName
				+ ", ownerSurname=" + ownerSurname + ", id=" + id + ", code="
				+ code + ", name=" + name + ", balance=" + balance
				+ ", currency=" + currency + ", status=" + status + "]";
	}
}